home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypercrd / xcmds / dvlprstc.hqx / Developer Stack 1.3r / card_6402.txt < prev    next >
Encoding:
Text File  |  1991-04-30  |  1.3 KB  |  74 lines

  1. -- card: 6402 from stack: in.3r
  2. -- bmap block id: 0
  3. -- flags: 4000
  4. -- background id: 2612
  5. -- name: Talk
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: A004
  11. -- rect: left=204 top=233 right=283 bottom=261
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 27056 / 27056
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Try it
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   if the optionkey is down then pass mouseup
  23.   talk "this is a test of the talk external command",150,150
  24. end mouseUp
  25.  
  26.  
  27.  
  28. -- part contents for background part 2
  29. ----- text -----
  30. Talk
  31.  
  32. -- part contents for background part 13
  33. ----- text -----
  34. 6
  35.  
  36. -- part contents for background part 3
  37. ----- text -----
  38.  
  39. You can use this command to access Macintalk and make your Macintosh talk.  Be sure that Macintalk is in your system folder.
  40.  
  41. See also the Speak* XCMD
  42.  
  43.  
  44.  
  45. Thanks to:
  46. James Paul
  47.  
  48. This XCMD ┬⌐1987 James Paul
  49. Paul Software Engineering
  50. 513 West "A" Street
  51. Tehachapi, CA 93561
  52.  
  53. Compuserve 72767,3436
  54. GEnie J.Paul
  55.  
  56.  
  57. -- part contents for background part 10
  58. ----- text -----
  59. Syntax:
  60.  
  61. Talk <TextToSpeak>,<rate>,<pitch>
  62.  
  63. <TextToSpeak> contains the words that you want Macintalk to speak.
  64.  
  65. <Rate> is the rate of speech.
  66.  
  67. <Pitch> is the pitch of speech
  68.  
  69.  
  70.  
  71.  
  72. -- part contents for background part 30
  73. ----- text -----
  74. XCMD